package com.sc.nft.dto.hna;

import com.sc.nft.enums.SecondPayOrderItemTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class HnaFastPayReq {
  @NotNull(message = "银行卡为空")
  @ApiModelProperty(value = "绑卡id", required = true)
  private Long cardId;

  @NotEmpty(message = "订单号为空")
  @ApiModelProperty(value = "订单号集合", required = true)
  private List<Long> orderIds;

  @ApiModelProperty("是否原石订单，true是，false否")
  private Boolean stone = Boolean.FALSE;

  @ApiModelProperty("是否二级订单，true是，false否")
  private Boolean second = Boolean.FALSE;

  private String ip;

  @ApiModelProperty("订单类型 COLLECTION:藏品 EQUITY_PROPS:权益道具")
  private SecondPayOrderItemTypeEnum orderType = SecondPayOrderItemTypeEnum.COLLECTION;
}
